import { App } from 'vue'
import chooseArea from './chooseArea'
import chooseIcon from './chooseIcon'
import formArea from './formArea'
import trend from './trend'
import notification from './notification'
import list from './list'
import menu from './menu'
import progress from './progress'
import form from './form'
import table from './table'

const components = [
  chooseArea,
  chooseIcon,
  formArea,
  trend,
  notification,
  list,
  menu,
  progress,
  form,
  table
]


export default {
  install (app: App) {
    components.forEach(item => {
      app.use(item)
    })
  }
}
